package org.rc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Personnel {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String name;

    private String birthday;

    private String address;

    private String workUnit;

    private String gender;

    @Override
    public String toString() {
        return "Personnel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday='" + birthday + '\'' +
                ", address='" + address + '\'' +
                ", workUnit='" + workUnit + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
